package com.example.admin.service;

import com.example.xo.pojo.Category;

import java.util.List;

public interface CategoryService {
    boolean add(Category category);
    boolean deleteById(String id);
    boolean update(Category category);
    List<Category> findAll();
    Category findById(String id);
    Category findByName(String name);
}
